import createAxios from '/@/utils/axios'




// 创建导出任务
export const createExportTask = (params: anyObj) => {
    return createAxios(
        {
            url: '/admin/vip.Code/addExportTask',
            method: 'get',
            params,
        },
        {
            loading: true,
            showSuccessMessage: true,
        }
    )
}

// 获取导出表头
export const getTableHeadField = () => {
    return createAxios({
        url: '/getTableHeadField',
        method: 'get',
    })
}


